package com.linkwechat.quartz.task;

import com.linkwechat.wecom.service.IWeUserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2022-6-11.
 */

@Slf4j
@Component("WeworkContactsSyncTask")
public class WeworkContactsSyncTask {
    @Autowired
    private IWeUserService weUserService;

    public void syncWeUser() {
        log.info("企微成员同步SCRM任务>>>>>>>>>>>>>>>>>>>启动");

        weUserService.synchWeUser();

        log.info("企微成员同步SCRM任务>>>>>>>>>>>>>>>>>>>启动");
    }

}
